<%-- 
    Document   : IniciarSesion1
    Created on : 11/10/2010, 03:11:17 PM
    Author     : MAN
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<jsp:useBean id="model" scope="session" class="model.WebModel"/>
<%@page session="true"  errorPage="PaginaError.jsp" %>




<%
    model.init(application);


    request= (HttpServletRequest)pageContext.getRequest();
    String BASEURL= request.getContextPath();
    String CONTROLLER=BASEURL + "/controller";

 %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    

         <script type="text/javascript" src="view.js"></script>

            <script src="jquery.js" type="text/javascript"></script>
            <script src="jquery.validate.js" type="text/javascript"></script>

                     <script type="text/javascript">

                $(document).ready(function() {
                    $("#login").validate();

                });






            </script>

            <style type="text/css">
                #login { width: 500px; }
                #login label { width: 200px; }
                #login label.error, #form_1511 input.submit { margin-bottom:  5px; }
            </style>
        <title>JSP Page</title>
    </head>
    <body>
      <div id="page">

		<div id="header">
			<h1>Iniciar Sesion</h1>
		</div>

		<div id="content">
			<p id="status"></p>
			<form action="<%=CONTROLLER%>/Verifica/Usuario" method="post" id="login">
				<fieldset>
					<legend>Datos De Usuarios</legend>
					<ul>
						<li>
							<label for="email"><span class="required">Nombre De Usuario</span></label>
							<input id="email" name="idUsua" class="required " type="text" />

						</li>

						<li>
							<label for="password"><span class="required">Contraseña</span></label>
							<input name="contra" type="password" class="required" id="password" minlength="3" maxlength="20" />
						</li>

						<li>

						</li>
					</ul>
				</fieldset>

				<fieldset class="submit">
					<input type="submit" class="button" value="Iniciar" />
				</fieldset>

				<div class="clear"></div>
			</form>

			</div>
	</div>
    </body>
</html>
